package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.HospitalOutpatientRelation;

import java.util.List;

public interface HospitalOutpatientRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HospitalOutpatientRelation record);

    int insertSelective(HospitalOutpatientRelation record);

    HospitalOutpatientRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalOutpatientRelation record);

    int updateByPrimaryKey(HospitalOutpatientRelation record);

    int selectByHospitalIdAndOutpatientId(Long hospitalId, Long outpatientId);

    int deleteByHospitalIdAndOutpatientId(Long hospitalId, Long outpatientId);

    List<Long> selectByHospitalId(Long hospitalId);
}